package com.zjz.demo.stream;

import java.util.Arrays;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/09/12:46
 * @Description:
 * @Target: 测试Compare
 */
public class CompareTest {

    public static void main(String[] args) {

        List<Integer> integers = Arrays.asList(1, 2, 2, 3);

//        Arrays.sort(integers,(a, b)->{return a.compareTo(b);});

    }
}
